package com.atguigu.day11.work;

public class Test08 {
    public static void main(String[] args) {
        try {
            Person p = new Person("s", -12);
        } catch (Exception e) {
            e.printStackTrace();
        }
        try {
            Person p1 = new Person();
            p1.setLifeValue(1);
            p1.setLifeValue(-1);
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
